﻿<%@ Page Title="" Language="C#" MasterPageFile="~/template/Admin.Master" AutoEventWireup="true"
    CodeBehind="Create.aspx.cs" Inherits="EmptyWallGallery.FrontEnd.inside.Editor.Video.Create" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ctphTitle" runat="server">
    <h1 id="titleStep" runat="server">Thêm mới Video - Bước 1</h1>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ctphMain" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div id="test" runat="server">
            </div>

            <div class="form-wrap">
                <div id="divStep1" runat="server">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" Display="Dynamic" ControlToValidate="txtUrl"
                        runat="server" ForeColor="Red" ErrorMessage="<br />* Xin vui lòng nhập Id của video"></asp:RequiredFieldValidator>

                    <div class="form-field" style="width: 328px;">
                        <label>Đường dẫn Youtube: http://www.youtube.com/watch?v=</label>
                        <asp:TextBox ID="txtUrl" runat="server" Width="250"></asp:TextBox>
                    </div>

                    <div class="clearfix"></div>
                    <div class="form-field">
                        <p class="submitButton">
                            <asp:Button ID="BtnNext" runat="server" CssClass="btn" Text="Tiếp tục" OnClick="BtnNext_OnClick" />
                        </p>
                    </div>
                </div>
                <div id="divStep2" runat="server" visible="False">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" Display="Dynamic" ControlToValidate="txtTitle"
                        runat="server" ForeColor="Red" ErrorMessage="<br />* Xin vui lòng nhập tiêu đề của video"></asp:RequiredFieldValidator>

                    <div class="form-field" style="width: 100%;">
                        <label>
                            Tiêu đề:
                        </label>
                        <asp:TextBox ID="txtTitle" runat="server" Width="250"></asp:TextBox>
                    </div>
                    <div class="form-field" style="width: 100%;">
                        <label>
                            Giới thiệu:</label>
                        <FCKeditorV2:FCKeditor ID="txtBody" runat="server" ToolbarSet="MyTinyTool" BasePath="/Library/Editor/fckeditor/"
                            SkinPath="/Library/Editor/fckeditor/editor/skins/silver/" Height="300px">
                        </FCKeditorV2:FCKeditor>
                    </div>
                    <div class="form-field" style="width: 100%;">
                        <label>
                            Hình ảnh:</label>
                        <asp:Image ID="imgVideo" runat="server" Width="130" />
                    </div>
                    <div class="form-field" style="width: 100%;">
                        <label>
                            Trạng thái:</label>
                        <asp:DropDownList ID="drpStatus" runat="server" CssClass="uniform">
                            <asp:ListItem Value="0">Đã đăng</asp:ListItem>
                            <asp:ListItem Value="1">Chưa đăng</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <div class="clearfix"></div>
                    <div class="form-field">
                        <p class="submitButton">
                            <asp:Button ID="BtnBack" runat="server" CssClass="btn" Text="&lt; Quay lại" OnClick="BtnBack_OnClick" />&nbsp;
                            <asp:Button ID="BtnCreate" runat="server" CssClass="btn btn-primary" Text="Thêm mới" OnClick="BtnCreate_OnClick" />
                        </p>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
